package com.project.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 权限表 Bean
 */
@TableName("t_grade")
public class GradeBean {
    /** 权限表ID */
    @TableId(value = "pk_gradeId",type = IdType.AUTO)
    private Integer gradeId;
    /** 权限名称 */
    @TableField("g_name")
    private String name;
    /**
     * 权限内容
     */
    @TableField("g_content")
    private String content;

    public GradeBean() {
    }

    public GradeBean(Integer gradeId, String name) {
        this.gradeId = gradeId;
        this.name = name;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getGradeId() {
        return gradeId;
    }

    public void setGradeId(Integer gradeId) {
        this.gradeId = gradeId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "GradeBean{" +
                "gradeId=" + gradeId +
                ", name='" + name + '\'' +
                ", content='" + content + '\'' +
                '}';
    }
}
